package com.csscis.ssm.web.dao;

import com.csscis.ssm.core.generic.GenericDao;
import com.csscis.ssm.web.model.MessageTable;
import com.csscis.ssm.web.model.MessageTableExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MessageTableMapper extends GenericDao<MessageTable, Long> {
    int countByExample(MessageTableExample example);

    int deleteByExample(MessageTableExample example);

    int deleteByPrimaryKey(Long messageTableId);

    int insert(MessageTable record);

    int insertSelective(MessageTable record);

    List<MessageTable> selectByExample(MessageTableExample example);

    MessageTable selectByPrimaryKey(Long messageTableId);

    int updateByExampleSelective(@Param("record") MessageTable record, @Param("example") MessageTableExample example);

    int updateByExample(@Param("record") MessageTable record, @Param("example") MessageTableExample example);

    int updateByPrimaryKeySelective(MessageTable record);

    int updateByPrimaryKey(MessageTable record);
}